const { defineConfig } = require('@vue/cli-service')
module.exports = defineConfig({
  publicPath:'./',
  devServer: {
    port: 8082,
    // disableHostCheck: false,
    open: true,
    proxy: {
        '/api':{
            //target:'https://www.medtrum.com:8443/api',
            target:'http://127.0.0.1:5001/chess/api',
            changeOrigin: true,
            secure: false,
            pathRewrite: {
            "^/api": "" ,
            }
        },
    },

},
  configureWebpack:{
    performance:{
        maxEntrypointSize: 50000000,
        maxAssetSize: 30000000,
    }
  },
  transpileDependencies: true,
  lintOnSave:false
})
